const mongoose = require('mongoose');

const orderSchema = new mongoose.Schema({
  desc: String,
  title: String,
  price: String,
  tourName: String,
  userID: String,
  createTime: {
    type: Date,
    default: Date.now
  }
})

const orderModel = mongoose.model('order',orderSchema)

module.exports = orderModel